home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6463 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.2 KB

  1. Path: lrz-muenchen.de!hiris!markus
  2. From: markus@hiris.anorg.chemie.tu-muenchen.de (Markus Neumayer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Problem with BOOPSI
  5. Date: 28 Mar 1996 10:34:01 GMT
  6. Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
  7. Distribution: world
  8. Message-ID: <4jdpup$g05@sparcserver.lrz-muenchen.de>
  9. References: <6593.6660T1030T543@sn.no>
  10. NNTP-Posting-Host: hiris.anorg.chemie.tu-muenchen.de
  11. X-Newsreader: NN version 6.5.0 #7 (NOV)
  12.  
  13. elvemo@sn.no (Rune Elvemo) writes:
  14.  
  15. >I have a problem with a BOOPSI system. I have set up all the gagdets to
  16. >communicate using ICA_MAP and a Class under ModelClass. When I press one of
  17. >the buttons I *always* get a Guru.
  18.  
  19. >Here goes the source (I have only one gadget in this one, but later I will
  20. >include to buttons (up and down buttons for the prop).
  21.  
  22. >As you can see from the source bellow, I use the RKMModel, which can be found
  23. >in RKRM:Libraries. (I *had* one that I made by myself, but I think there was
  24. >something wrong with it :-( ).
  25.  
  26. >You migh want to know, that I removed the line in the dispather routine in
  27. >RKMModel, saying : "geta4()". I don't know this is what's causing the Gurus.
  28.  
  29. This "geta4()" _IS_ necessary! The BOOPSI code is called within intuition's
  30. environment. Therefore you have to made sure, that the A4 pointer really
  31. points to YOUR code.
  32.  
  33. BTW. If you are using SAS 6.xx you can avoid this geta4() by using the
  34. __saveds declaraion scheme. If not, that geta4() is mandatory.
  35.  
  36.  
  37. >Rune Elvemo
  38. >elvemo@sn.no
  39. >-It's cool to be clear :-)
  40.  
  41. Best regards,
  42.  
  43. Markus Neumayer
  44. ---
  45.                                    \|/
  46.                                    @ @
  47. *******************************oOOO(_)OOOo*************************************
  48.  Inorg. & Analyt.  Chemistry *         Markus Neumayer, Dipl. Chem. Univ.
  49.       Dept. of Chemistry     * s-mail: Lichtenbergstr. 4
  50.    Techn. University Munich  *         85757 Garching
  51.            GERMANY           * e-mail: markus@hiris.anorg.chemie.tu-muenchen.de
  52. *******************************************************************************
  53.     WWW Homepage: http://hiris.anorg.chemie.tu-muenchen.de/people/markus/
  54. *******************************************************************************
  55.